/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.scene.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.scene.entity.SceneEnvironment;
import com.lczyfz.istep.modules.scene.entity.SceneSecurityGroup;
import com.lczyfz.istep.modules.scene.entity.SceneSecurityGroupRule;

import java.util.List;

/**
 * 安全组规则DAO接口
 * @author dh
 * @version 2017-03-28
 */
@MyBatisDao
public interface SceneSecurityGroupRuleDao extends CrudDao<SceneSecurityGroupRule> {
    List<SceneSecurityGroupRule> findSGRListByEnvironmentId(SceneEnvironment sceneEnvironment);
    List<SceneSecurityGroupRule> findSGRListBySecurityGroupId(SceneSecurityGroup sceneSecurityGroup);

}